hi does anyone have any way of showing changes to specific attributes since last baseline? ive tried the smartdxl one but it lists changes to all attributes. i just want to pick out 3 attributes thanks :) doorsuser77 - Tue Jul 05 05:57:43 EDT 2016 |
Re: changes since baseline to some attributes Peter Albert's script, in the following thread, is very useful for such analysis: |
Re: changes since baseline to some attributes In addition: Are you referring to the solution at http://www.smartdxl.com/content/?p=714 ? I do not see why you should not be able to adopt the code for your attributes. The changes need to be done around line 80 |
Re: changes since baseline to some attributes Mike.Scharnow - Tue Jul 05 06:55:58 EDT 2016 In addition: Are you referring to the solution at http://www.smartdxl.com/content/?p=714 ? I do not see why you should not be able to adopt the code for your attributes. The changes need to be done around line 80 hi thanks for that - got that working ok. now another question - is there some way of displaying the baseline text - so i can have 3 columns 1. baselined text 2. revised text 3. marked up text? thanks - not really sure how to do this so any help much appreciated ta
|
Re: changes since baseline to some attributes doorsuser77 - Tue Aug 09 11:22:22 EDT 2016 hi thanks for that - got that working ok. now another question - is there some way of displaying the baseline text - so i can have 3 columns 1. baselined text 2. revised text 3. marked up text? thanks - not really sure how to do this so any help much appreciated ta
Hm, you have all the information you need, it is rather a matter of how to display this information. In the function "compareObjects" (original script from Tony Goodman) there are variables "ot" for "old text", "nt" for "new text", "oh" for "old heading" and "nh" for "new heading". So, you could easily say
// changes to object heading
if (oh != nh)
{
// create differences string
diff(tempBuf, oh, nh)
diffBuf += "{\\i Object Heading old: }"
diffBuf += oh
diffBuf += "{\\par \\i Object Heading new: }"
diffBuf += nh
diffBuf += "{\\par \\i Object Heading diff: }"
diffBuf += tempBuf
...
but that might not be what your users want. Perhaps you can create not one but three DXL columns, each with an identical code except for which variable you display, oh in column 1, nh in column 2, tempBuf in column 3?
Hoping that this gives you an idea on how to proceed... |